package cn.jingyuan.swan.cloud.oauth2.client;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * Client details for OAuth2
 */
@Getter
@Setter
@ToString
public class DefaultOAuth2ClientDetails implements Serializable {

    /** Client Id */
    private String clientId;

    /** Client Secret */
    private String clientSecret;

    /** Whether this client is limited to a specific scope */
    private String scope;

    /** The URL to use to obtain an OAuth2 access token */
    private String accessTokenUri;

    /** The URI to which the user is to be redirected to authorize an access token */
    private String userAuthorizationUri;

    /** User info URI for the provider */
    private String userInfoUri;

    /** The pre-defined redirect URI for this client */
    private String redirectUri;

}
